package org.example.entity;

import lombok.Data;

@Data
public class EdgeBean {

    /**
     * 边id，从0开始计数
     */
    int edgeId;

    /**
     * 源节点id
     */
    int fromId;

    /**
     * 汇节点id
     */
    int toId;

    /**
     * 边值，字符串格式
     */
    String value;

    public EdgeBean(int fromId, int toId, String value) {
        this.fromId = fromId;
        this.toId = toId;
        this.value = value;
    }

}
